package com.gopay.common.domain.cps;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 付款到国付宝收款人
 * 
 * @CpsTransReceiver00900.java
 * @author KZ-TU
 * @2013-3-4 下午3:39:32 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "CPS_TRANS_RECEIVER_00900")
public class CpsTransReceiver00900 extends BaseEntity {

    private static final long serialVersionUID = -7165100606696425728L;

    @Id
    @SequenceGenerator(name="CpsTransReceiver00900Sequence",sequenceName="CPS_TRANS_RECEIVER_00900_SEQ")
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CpsTransReceiver00900Sequence")
    @Column(name="SQ", unique=true, nullable=false)
    private Integer sq;
    
    @Column(name="PAYER_CUST_ID")
    private String payerCustId;
    
    @Column(name="PAYER_CUST_TYPE")
    private String payerCustType;
    
    @Column(name="RECEIVER_CUST_ID")
    private String receiverCustId;
    
    @Column(name="RECEIVER_GOPAY_ACCT")
    private String receiverGopayAcct;
    
    @Column(name="RECEIVER_CUST_TYPE")
    private String receiverCustType;
    
    @Column(name="CREATED_TS")
    private Timestamp createdTs;
    
    @Column(name="LAST_UPD_TS")
    private Timestamp lastUpdTs;
    
    @Column(name="LAST_UPD_TRANCODE")
    private String lastUpdTranCode;

    public Integer getSq() {
        return sq;
    }

    public void setSq(Integer sq) {
        this.sq = sq;
    }

    public String getPayerCustId() {
        return payerCustId;
    }

    public void setPayerCustId(String payerCustId) {
        this.payerCustId = payerCustId;
    }


    public String getPayerCustType() {
        return payerCustType;
    }

    public void setPayerCustType(String payerCustType) {
        this.payerCustType = payerCustType;
    }

    public String getReceiverCustId() {
        return receiverCustId;
    }

    public void setReceiverCustId(String receiverCustId) {
        this.receiverCustId = receiverCustId;
    }

    public String getReceiverGopayAcct() {
        return receiverGopayAcct;
    }

    public void setReceiverGopayAcct(String receiverGopayAcct) {
        this.receiverGopayAcct = receiverGopayAcct;
    }

    public String getReceiverCustType() {
        return receiverCustType;
    }

    public void setReceiverCustType(String receiverCustType) {
        this.receiverCustType = receiverCustType;
    }

    public Timestamp getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Timestamp createdTs) {
        this.createdTs = createdTs;
    }

    public Timestamp getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Timestamp lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public String getLastUpdTranCode() {
        return lastUpdTranCode;
    }

    public void setLastUpdTranCode(String lastUpdTranCode) {
        this.lastUpdTranCode = lastUpdTranCode;
    }
}
